*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    min-width: 375px;
}
.w{
    margin: 0 auto;
}
.clearfix{
    &::after{
        content: '.';
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
}
.fl{
    float: left;
}
.fr{
    float: right;
}
// 头部logo
header{
    color: #fff;
    font-size: 24px;
    text-align: center;
    background-color: #e2e2e2;
    padding: 15px 0;
    h3{
        margin:0;
        line-height: 1.25;
        font-family: "楷体";
        font-size: 24px;
        text-shadow: 0px -1px 0px #e1e1e1,0px 1px 0px #a1a1a1,0px 2px 0px #a1a1a1,0px 3px 0px #585858;
    }
    .logo{
        text-transform: uppercase;
        font-family:'Times New Roman', Times, serif;
        text-shadow: 0px -1px 0px #e1e1e1,0px 1px 0px #a1a1a1,0px 2px 0px #a1a1a1,0px 3px 0px #585858;
    }
}
// nav 文案
.nav{
    padding: 15px 0;
    text-align: center;
    font-size: 20px;
}

// search 搜索框
.search{
    max-width: 750px;
    padding: 20px 15px 0;
    margin: 0 auto;
}
.search_inp{
    height: 2rem;
    width: 80%;
    border: 1px solid #999;
    border-left: 0;
    color: #999;
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 0 4px 4px 0;
    input[type="text"]{
        height: 100%;
        width: 100%;
        border: 0;
        outline: none;
    }       
}
.search_text{
    width: 20%;
    max-width: 145px;
    height: 2rem;
    color: #fff;
    text-align: center;
    line-height: 2rem;
    background-color: rgb(201, 201, 201);
    border-radius: 4px 0 0 4px;
}
.create_img{
    position: relative;
    width: 80px;
    height: 80px;
    padding: 5px;
    margin: 0 auto;
    cursor: pointer;
    img{
        width: 100%;
        height: 100%;
    }
    span{
        position: absolute;
        transform: translateX(-35%);
        left: 50%;
        bottom: 0;
        width: 34px;
        font-size: 12px;
    }
}
// 内容区域
.cont_img{
    display: flex;
    position: relative;
    align-items: center;
    width: 100vw - 15;
    min-width: 375px;
    height: 100vw - 15;
    min-height: 375px;
    margin: 0 auto;
    background-color: #000;
    margin-top: 15px;
    color: #fff;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    .text1{
        position: absolute;
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
        letter-spacing: .15rem;
    }
    .text2{
        position: absolute;
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
        word-spacing: .15rem;
    }
    .imgs{
        width: 100%;
        height: 100% * (2 / 3);
        // // background-color: #999;
        // background: url("../images/bg.jpg") no-repeat;
        // background-size: 100% auto;
        img{
            width: 100%;
            height: 100%;
        }
    }
}
.upload{
    position: relative;
    width: 80%;
    height: 40px;
    color: rgb(255, 255, 255);
    text-align: center;
    line-height: 40px;
    background: #ff4303;
    border-radius: 4px;
    margin: 35px auto;
    input{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        outline: none;
        opacity: 0;
    }
}
canvas{
    margin: 0 auto;
}

@media screen and (min-width:751px){
    .cont_img{
        font-size: 24px;
    }
    .search_inp{
        height: 3rem;
    }
    .search_text{
        height: 3rem;
        line-height: 3rem;
        font-size: 18px;
    }
}
@media screen and (max-width:750px){
    .cont_img{
        font-size: 18px;
    }
    .search_inp{
        height: 2.8rem;
    }
    .search_text{
        height: 2.8rem;
        line-height: 2.8rem;
    }
}
@media screen and (max-width:600px){
    .cont_img{
        font-size: 16px;
    }
    .search_inp{
        height: 2.5rem;
    }
    .search_text{
        height: 2.5rem;
        line-height: 2.5rem;
    }
}
@media screen and (max-width:450px){
    .cont_img{
        font-size: 14px;
    }
    .search_inp{
        height: 2.2rem;
    }
    .search_text{
        height: 2.2rem;
        line-height: 2.2rem;
        font-size: 14px;
    }
}
@media screen and (max-width:375px){
    .cont_img{
        font-size: 12px;
    }
    .search_inp{
        height: 2rem;
    }
    .search_text{
        height: 2rem;
        line-height: 2rem;
        font-size: 12px;
    }
}
